package com.quanyan.ic.http.service;

import com.quanyan.ic.common.paging.PageResult;
import com.quanyan.ic.http.dao.entry.LightAlarmEntry;
import com.quanyan.ic.http.entity.req.ReqQuerySiteOrderStatus;
import com.quanyan.ic.http.entity.req.ReqSendLightCmd;
import com.quanyan.ic.http.entity.resp.RespSiteOrderStatus;
import com.quanyan.ic.model.PlaceLightSetting;

import java.util.List;
import java.util.Map;

/**
 * Created by zhuo.shi on 2017/5/31.
 */
public interface LightControlService {

    /**
     * 为场馆设置灯光参数
     */
    void setPlaceLightSetting(PlaceLightSetting placeLightSetting);

    /**
     * 查询场地订单状态
     */
    RespSiteOrderStatus querySiteOrderStatus(ReqQuerySiteOrderStatus req);

    /**
     * 查询灯光告警信息
     */
    PageResult<List<LightAlarmEntry>> queryLightAlarms(Map<String, Object> params);

    /**
     * 手动开关灯
     */
    void sendLightCmd(ReqSendLightCmd sendLightCmd);

}
